import java.util.Scanner;

/**
 * @ClassName Main
 * @Description TODO 考查String的使用：将大写转为小写
 * @Date 2025/7/19 15:22
 * @Version 1.0
 */
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextLine()) { // 注意 while 处理多个 case
            String str = in.nextLine();
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < str.length(); i++) {
                char ch = str.charAt(i);
                if (ch >= 65 && ch <= 90) {
                    ch = (char)(ch + 32);
                    sb.append(ch);
                } else {
                    sb.append(ch);
                }
            }
            System.out.println(sb);
        }
    }
}
